/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.jcjg.entity;

import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.google.common.collect.Lists;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 检查结果Entity
 * @author 检查结果
 * @version 2016-12-23
 */
public class DrJg extends DataEntity<DrJg> {
	
	private static final long serialVersionUID = 1L;
	private String rwId;		// 任务ID
	private Long jgWtsl;		// 问题数量
	private Long jgWtqysl;		// 问题企业数量
	private String jgBz;		// 问题总结
	private String jhId;		// 计划ID
	private String sxId;		// 事项ID
	private String fj;		// 上传附件
	private List<DrWtxx> drWtxxList = Lists.newArrayList();		// 子表列表
	
	private String rw_flag;
	
	
	public String getRw_flag() {
		return rw_flag;
	}

	public void setRw_flag(String rw_flag) {
		this.rw_flag = rw_flag;
	}

	public DrJg() {
		super();
	}

	public DrJg(String id){
		super(id);
	}

	@Length(min=0, max=64, message="任务ID长度必须介于 0 和 64 之间")
	public String getRwId() {
		return rwId;
	}

	public void setRwId(String rwId) {
		this.rwId = rwId;
	}
	
	public Long getJgWtsl() {
		return jgWtsl;
	}

	public void setJgWtsl(Long jgWtsl) {
		this.jgWtsl = jgWtsl;
	}
	
	public Long getJgWtqysl() {
		return jgWtqysl;
	}

	public void setJgWtqysl(Long jgWtqysl) {
		this.jgWtqysl = jgWtqysl;
	}
	
	@Length(min=0, max=255, message="问题总结长度必须介于 0 和 255 之间")
	public String getJgBz() {
		return jgBz;
	}

	public void setJgBz(String jgBz) {
		this.jgBz = jgBz;
	}
	
	@Length(min=0, max=64, message="计划ID长度必须介于 0 和 64 之间")
	public String getJhId() {
		return jhId;
	}

	public void setJhId(String jhId) {
		this.jhId = jhId;
	}
	
	@Length(min=0, max=64, message="事项ID长度必须介于 0 和 64 之间")
	public String getSxId() {
		return sxId;
	}

	public void setSxId(String sxId) {
		this.sxId = sxId;
	}
	
	@Length(min=0, max=255, message="上传附件长度必须介于 0 和 255 之间")
	public String getFj() {
		return fj;
	}

	public void setFj(String fj) {
		this.fj = fj;
	}
	
	public List<DrWtxx> getDrWtxxList() {
		return drWtxxList;
	}

	public void setDrWtxxList(List<DrWtxx> drWtxxList) {
		this.drWtxxList = drWtxxList;
	}
}